package org.example.test;


/**
 * 租赁信息
 */
public class Rental {
	// 影片
	private Movie movie;
	// 租赁天数
	private int dayRented;
	public Rental(Movie movie, int dayRented) {
		this.movie = movie;
		this.dayRented = dayRented;
	}

	public Movie getMovie() {
		return this.movie;
	}

	public int getDayRented() {
		return this.dayRented;
	}
}
